login_cases=[
    {"username": "13488888888", "password": "123456"},
    {"username": "", "password": "123456"},
    {"username": "13800000001", "password": ""},
    {"username": "13800000001", "password": "123"}
]
def login(phone,pwd):
    #判断手机号密码
    if phone == "13488888888" and pwd == "123456":
     print("登录成功")
    else:
     print("登录失败")
num =1
for i in login_cases:
    phone=i.get("username")
    pwd=i.get("password")
    print(f"第{num}次的测试")
    login(phone,pwd)
    num+=1